<?php
use tp5_lib\account\logic\AccountModule;
use tp5_lib\user\model\UserModel;
use tp5_lib\account\model\AccountLogModel;
use tp5_lib\account\model\RechargeModel;
use tp5_lib\account\model\WithdrawModel;

return [
    "require"=>["user","access"],
    "logic"=>AccountModule::class,
    "model"=>[
        AccountLogModel::class,
        RechargeModel::class,
        WithdrawModel::class,
    ],
    "field"=>[
        [UserModel::class,"money","DECIMAL(10,2) NOT NULL","0.00"],
        [UserModel::class,"alipay","VARCHAR(20) NOT NULL",""],
        [UserModel::class,"wxpay","VARCHAR(20) NOT NULL",""],
    ],
    "description"=>"用户账户模块-账户变动、充值、提现",
];

